package system;

import book.BookList;

public class FindOperation implements IOperation {
    @Override
    public void work(BookList bookList) {
        System.out.println("查找图书");
        System.out.println("请输入你要找的图书名");
        int num = bookList.findBook() ;
       if( num == -1){
           System.out.println("没有找到");
       }else{
           System.out.println("找到了 ,在位置" + num);
       }
    }
}
